﻿using SH.Common.CommonReturn;
using SH.Multitenant.Domain.RBAC;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SH.Multitenant.Application.IServices.IRole
{
    public interface IRoleServices : IBaseServices<Role>
    {
        //条件分页获取角色列表
        ApiPaging<List<Role>> PageQuery(string? roleName, int pageSize, int pageIndex);
        
        //角色添加       
        Task<int> RoleAddAsync(RoleDTO dto);
        //批量删除
        int BatchDelRoles(List<Role> roles);
    }
}
